package com.jp.knowledge.command.implement;

import android.content.Intent;
import android.support.annotation.NonNull;

import com.jp.knowledge.activity.SolutionActivity;
import com.jp.knowledge.command.Command;
import com.jp.knowledge.command.CommandReceiver;

/**
 * Created by 528787067@qq.com on 2017/6/17.
 *
 * 行业方案功能
 */

public class HangYeFangAnGongNeng extends Command {

	public HangYeFangAnGongNeng(@NonNull CommandReceiver receivert) {
		super(receivert);
	}

	@Override
	public void execute() {
		Intent intent = createIntent(SolutionActivity.class);
		try {
			intent.putExtra("name", "行业方案");
			intent.putExtra("tabIndex", Integer.parseInt(parameterId));
		} catch (Exception e){} finally {
			startActivity(intent);
		}
	}
}
